//
//  GLUploadSessionManager.h
//  MaMiSchool
//
//  Created by huanggulong on 16/7/23.
//  Copyright © 2016年 历山大亚. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^GLCompleteIntBlock)(NSInteger index);

#define ECUpdateURL @"http://www.loveinway.com/upload"

@interface GLUploadSessionManager : NSObject

+ (instancetype)shareSessionManager;

@property(nonatomic , assign ,readonly,getter=isUpload)BOOL upload;

- (BOOL)uploadLocalFiles:(NSArray *)files progress:(NSProgress *)progress indexBlock:(GLCompleteIntBlock)indexBlock completeBlock:(GLCompleteIntBlock)completeBlock;

@end
